<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="css/reset.css"/>
    <script type="text/javascript" src="js/jquery-3.4.1.js"></script>
    <script type="text/javascript" src="js/js_z.js"></script>
    <link rel="stylesheet" type="text/css" href="plugins/FlexSlider/flexslider.css">
    <script type="text/javascript" src="plugins/FlexSlider/jquery.flexslider.js"></script>
    <link rel="stylesheet" type="text/css" href="css/thems.css">
    <link rel="stylesheet" type="text/css" href="css/responsive.css">
    <script type="text/javascript">
        <c:if test="${param.msg=='no'}">
            alert("帐号或密码错误，请重新输入!");
        </c:if>
    </script>
</head>
<body>
    <div class="container">
        <form name="loginForm" action="./doLogin" method="post" ><br/>
            <p class="h4" style="color:#999;font-size:20px ;">请输入用户名和密码</p>
            <br />
            用户名：<input type="text" name="username" placeholder="请输入登录帐号" required="required" /><br /><br />
            密&nbsp;&nbsp;&nbsp;&nbsp;码：<input type="password" name="password" placeholder="请输入密码" /><br /><br />
            <div class="form-gorup">
                <div class="login1">
                    <button  type="submit" style="width: 100px;">
                        登录
                    </button>
                    &nbsp;&nbsp;
                    <button  type="reset" style="width: 100px;">
                        重置
                    </button>
                    &emsp;&emsp;
                    <a href="register.jsp">新用户，马上注册</a>
                </div>
            </div>
        </form>
    </div>
</body>
</html>